home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 March
/
EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso
/
earcd
/
-archivi
/
-recent2
/
jpeg2ps.lha
/
jpeg2ps
/
makefile.dos
< prev
next >
Wrap
Makefile
|
1999-03-07
|
1KB
|
48 lines
# Makefile for jpeg2ps
# (C) Thomas Merz 1994-1997
# ----------------------------------------------------------------------------
# version for MS-DOS, e.g. Borland C++
# throw out -DA4 if you want letter format as default size
# use -DKNR for Kernighan/Ritchie compilers
CC=bcc
CCOPT=-DDOS -c -DA4
LD=bcc
LDOPT=
OBJ=obj
EXE=.exe
RM=del
.c.$(OBJ) :
$(CC) $(CCOPT) $*.c
all: jpeg2ps$(EXE)
jpeg2ps$(EXE): jpeg2ps.$(OBJ) readjpeg.$(OBJ) asc85ec.$(OBJ) getopt.$(OBJ)
$(LD) $(LDOPT) jpeg2ps.$(OBJ) readjpeg.$(OBJ) asc85ec.$(OBJ) getopt.$(OBJ)
zip: jpeg2ps.c psimage.h readjpeg.c asc85ec.c getopt.c makefile.dos makefile.unx jpeg2ps.txt jpeg2ps.exe
lineend -d *.c *.h makefile.* *.txt
pkzip jpeg2ps.zip *.c *.h *.txt makefile.* jpeg2ps.exe
tar: jpeg2ps.c psimage.h readjpeg.c asc85ec.c getopt.c makefile.dos makefile.unx jpeg2ps.txt
lineend -u *.c *.h makefile.* *.txt
tar cvf jpeg2ps.tar *.c *.h *.txt makefile.*
gzip jpeg2ps.tar
lineend -d *.c *.h makefile.* *.txt
mv jpeg2ps.taz jpeg2ps.tgz
clean:
$(RM) *.$(OBJ)
$(RM) jpeg2ps$(EXE)
jpeg2ps.$(OBJ): jpeg2ps.c psimage.h
readjpeg.$(OBJ): readjpeg.c psimage.h
asc85ec.$(OBJ): asc85ec.c
getopt.$(OBJ): getopt.c